<div id="songInfo">

	<div id="COVERART" style="border: 1px solid black; position: relative; background-color: #111111;">
			[%-
				IF streaminfo.item.image;
					artwork = streaminfo.item.image;
				ELSE;
					IF streaminfo.item.url.search('^(http|mms):');
						artwork = webroot _ "html/images/radioDark.png";
					ELSE;
						artwork = "/music/0/cover.jpg";
					END;
				END
			-%]
			<img src="[% artwork %]" width = "318"/>

		<div id="linkedSongInfoItems"
				 style = "position: absolute; float: left; 
				  left: 0; top: 0; overflow: hidden; z-index: 12;">
		[% IF songInfoPlayLinks; songInfoPlayLinks; END %]

		[% item = (streaminfo.item.name || streaminfo.item.title) | html; title = "TITLE"; PROCESS songInfoItem %]
		
		[% IF streaminfo.item.url %]
			[% item = BLOCK %]<a href="[% streaminfo.item.url | html %]" target="_blank">[% streaminfo.item.url | html %]</a>[% END %]
			[% PROCESS songInfoItem title = "URL" %]
		[% END %]

		[% IF streaminfo.item.bitrate %]
			[% item = BLOCK %][% streaminfo.item.bitrate | html %] [% "KBPS" | string %][% END %]
			[% PROCESS songInfoItem title = "BITRATE" %]
		[% END %]

	[% IF streaminfo.item.subtitle %]
		[% item = streaminfo.item.subtitle | html; title = "XML_SUBTITLE"; PROCESS songInfoItem %]
	[% END %]
	
	[% IF streaminfo.item.pubdate %]
		[% item = streaminfo.item.pubdate | html; title = "XML_DATE"; PROCESS songInfoItem %]
	[% END %]
	
	[% IF streaminfo.item.description %]
		[% item = streaminfo.item.description | html; title = "DESCRIPTION"; PROCESS songInfoItem %]
	[% END %]
	
	[% IF streaminfo.item.summary %]
		[% item = streaminfo.item.summary | html; title = "XML_SUMMARY"; PROCESS songInfoItem %]
	[% END %]
	
	[% IF streaminfo.item.link %]
		[% item = BLOCK %]<a href="[% streaminfo.item.link | html %]" target="_blank">[% streaminfo.item.link | html %]</a>[% END %]
		[% PROCESS songInfoItem title = "XML_LINK" %]
	[% END %]
	
	[% IF streaminfo.item.enclosure %]
		[% item = BLOCK %]
			<a href="[% streaminfo.item.enclosure.url | html %]" target="_blank">[% streaminfo.item.enclosure.url | html %]</a><br />
			[% FILTER format('%.2f'); streaminfo.item.enclosure.length / 1048576; END %] MB
		[% END %]
		[% PROCESS songInfoItem title = "XML_ENCLOSURE" %]
	[% END %]
	
	[% IF streaminfo.item.duration %]
		[% item = streaminfo.item.duration | html; title = "LENGTH"; PROCESS songInfoItem %]
	[% END %]
	
	[% IF streaminfo.item.explicit %]
		[% item = streaminfo.item.explicit | html; title = "XML_EXPLICIT"; PROCESS songInfoItem %]
	[% END %]
	
	[% IF streaminfo.item.listeners %]
		[% item = streaminfo.item.listeners | html; title = "NUMBER_OF_LISTENERS"; PROCESS songInfoItem %]
	[% END %]
	
	[% IF streaminfo.item.current_track %]
		[% item = streaminfo.item.current_track | html; title = "NOW_PLAYING"; PROCESS songInfoItem %]
	[% END %]
	
	[% IF streaminfo.item.genre %]
		[% item = streaminfo.item.genre | html; title = "GENRE"; PROCESS songInfoItem %]
	[% END %]
	
	[% IF streaminfo.item.source %]
		[% item = streaminfo.item.source | html; title = "SOURCE"; PROCESS songInfoItem %]
	[% END %]
		</div>
	</div>
</div>
